## Process this file with automake to produce Makefile.in

libdir = $(openstereoplugindir)

if BUILD_PLUGINS

#if PLATFORM_WIN32
#no_undefined = -no-undefined
#endif

lib_LTLIBRARIES = libslgl_raw.la libslgl_nortt.la libslgl.la
EXTRA_DIST = libslgl_raw.rc libslgl_raw.def libslgl_nortt.rc libslgl_nortt.def \
	libslgl.rc libslgl.def

libslgl_raw_la_SOURCES = slgl_raw.c
libslgl_raw_la_CPPFLAGS = -I$(top_srcdir)/include
libslgl_raw_la_LDFLAGS = -export-dynamic $(top_builddir)/src/libSL.la \
	$(PLUGIN_FLAGS) $(GL_LDFLAGS)

libslgl_nortt_la_SOURCES = slgl_nortt.c
libslgl_nortt_la_CPPFLAGS = -I$(top_srcdir)/include
libslgl_nortt_la_LDFLAGS = -export-dynamic $(top_builddir)/src/libSL.la \
	$(PLUGIN_FLAGS) $(GL_LDFLAGS) $(CG_LDFLAGS)

libslgl_la_SOURCES = slgl.c
libslgl_la_CPPFLAGS = -I$(top_srcdir)/include
libslgl_la_LDFLAGS = -export-dynamic $(top_builddir)/src/libSL.la \
	$(PLUGIN_FLAGS) $(GL_LDFLAGS) $(CG_LDFLAGS) $(GLEW_LDFLAGS)

endif

